package cn.dgiot.fd.contant;

/**
 * [自定义消息类型]
 * @author
 *
 */
public enum CustomTopicEnum {

	LOWER_DATA("lower_data","业务数据"),
	
	D_LOWER_DATA("d_lower_data","业务数据"),
	
	LOWER_WARN("lower_warn","告警数据"),

	D_LOWER_WARN("d_lower_warn","告警数据"),
	
	DEV_DATA("dev_data","DEV数据"),
	
	D_DEV_DATA("d_dev_data","DEV数据"),
	
	DEV_OTA("dev_ota","升级反馈"),
	
	DEV_CONFIG("dev_config","配置成功反馈"),

	D_ALL_DATA("d_all_data","所有数据"),
	
	LOWER_DMODEL("lower_dmodel","下位机设备型号"),
	
	D_LOWER_DMODEL("d_lower_dmodel","下位机设备型号"),

	POWER_DATA("power_data","电表数据"),

	D_POWER_DATA("d_power_data","电表数据");
	

	CustomTopicEnum(String code,String name){
		setCode(code);
		setName(name);
	}
	
	private String code;
	
	private String name;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}

